program area;

{$APPTYPE CONSOLE}

var
x, y: array of integer;
i, j, s: integer;
fin: textFile;

begin
  assignFile(fin, 'input.txt');
  reset(fin);
  setlength(x, 3);
  setlength(y, 3);
  j:=0;
  for i:=0 to 5 do
  begin
    if ((i mod 2)=0) then
    begin
      read(fin, x[j]);
      j:=j+1;
    end
    else
      read(fin, y[j-1]);
  end;
  for i:=0 to 2 do
    write(x[i], ' ', y[i], ' ');
  s:=x[0]*y[1]-x[1]*y[0]+x[1]*y[2]-x[2]*y[1]+x[2]*y[0]-x[0]*y[2];
  writeln;
  if ((s mod 2)=0) then
    write(s div 2)
  else
    write((s div 2)+0.5);
  readln;
  close(fin);
end.
